package com.drg.center.entity.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel("手术信息")
@Data
public class CaseMonitorOperationVO implements Serializable {

    @ApiModelProperty("手术操作编码")
    private String operationCode;

    @ApiModelProperty("手术操作名称")
    private String operationName;

    @ApiModelProperty("手术时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private LocalDateTime operationDate;

    @ApiModelProperty("手术医生姓名")
    private String operationDoctorName;

    @ApiModelProperty("麻醉方式")
    private String anesthesiaType;

    @ApiModelProperty("麻醉医生姓名")
    private String anesthesiaDoctorName;

    @ApiModelProperty("麻醉时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private LocalDateTime anesthesiaDate;

    @ApiModelProperty("是否主手术")
    private Boolean isMain;
}
